<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link href="/images/skin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/js/jquery/css/jquery.ui.all.css">
<link href="/js/jquery/css/jquery-ui-timepicker-addon.css" type="text/css" />
<script src="/js/jquery/jquery-1.8.2.js"></script>
<script src="/js/jquery/jquery.bgiframe-2.1.2.js"></script>
<script src="/js/jquery/ui/jquery.ui.core.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.widget.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.mouse.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.button.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.draggable.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.position.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.progressbar.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.resizable.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.dialog.min.js"></script>
<script src="/js/jquery/ui/jquery.ui.datepicker.min.js"></script>
<script src="/js/jquery/ui/jquery-ui-timepicker-addon.js"></script>
<script src="/js/jquery/ui/i18n/jquery.ui.datepicker-zh-CN.min.js"></script>
<script src="/js/jquery/ui/i18n/jquery-ui-timepicker-zh-CN.js"></script>
<script src="/js/formvalidator.js"></script>
<script src="/js/common.js"></script>
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="/js/jquery/flot/excanvas.min.js"></script><![endif]-->
<style>
select{height:20px; width:100px}
input.text {height:20px;width:100px }
fieldset { padding:0; border:0; margin-top:15px; }
h1 { font-size: 1.2em; margin: .6em 0; }
div#users-contain {width:100%;}
div#users-contain table { margin: 1em 0; border-collapse: collapse; width: 100%; }
div#users-contain table td, div#users-contain table th { border: 1px solid #eee; padding: .6em 10px; text-align: left; }
.ui-dialog .ui-state-error { padding: .3em; }
.validateTips { border: 1px solid transparent; padding: 0.3em; }
#divPageNav .curr{color:#d2d2d2;font-size:15px;}
#divPageNav A{color:#555555;font-size:15px;}
</style>
<script>
var _hmt = _hmt || [];
</script>
</head>
<script>
$.ajaxSetup({cache:false});
var reportPicOptions = {
        lines: { show: true },
        points: { show: true },
        grid: { hoverable: true, clickable: true },
        xaxis: {labelWidth:50,mode:"time",minTickSize:[1, "day"],timeformat: "%y/%m/%d",color:"black"},
        yaxis:{ticks:1,tickDecimals:0}
    	};
    /** 
    * 时间对象的格式化 
    */  
    Date.prototype.format = function(format)  
    {  
    /* 
    * format="yyyy-MM-dd hh:mm:ss"; 
    */  
    var o = {  
    "M+" : this.getMonth() + 1,  
    "d+" : this.getDate(),  
    "h+" : this.getHours(),  
    "m+" : this.getMinutes(),  
    "s+" : this.getSeconds(),  
    "q+" : Math.floor((this.getMonth() + 3) / 3),  
    "S" : this.getMilliseconds()  
    }  
      
    if (/(y+)/.test(format))  
    {  
    format = format.replace(RegExp.$1, (this.getFullYear() + "").substr(4  
    - RegExp.$1.length));  
    }  
      
    for (var k in o)  
    {  
    if (new RegExp("(" + k + ")").test(format))  
    {  
    format = format.replace(RegExp.$1, RegExp.$1.length == 1  
    ? o[k]  
    : ("00" + o[k]).substr(("" + o[k]).length));  
    }  
    }  
    return format;  
    }  
</script>


<!-- production -->
<script type="text/javascript" src="/js/plupload.full.min.js"></script>
<!-- debug 
<script type="text/javascript" src="../js/moxie.js"></script>
<script type="text/javascript" src="../js/plupload.dev.js"></script>
-->
<script type="text/javascript" src="upload.js"></script>
<body>

<style>
 
#ulDir{list-style:none; padding:0; margin:0;width:160px; height:100%;}
#ulDir li{width:160px; cursor:pointer; line-height:30px; padding-left:4px;}
#ulDir li input{display:none;}
#ulDir li div{ overflow:hidden;text-overflow:ellipsis; white-space:nowrap;}
#ulList{list-style:none; padding:0; margin:0;width:100%; padding-left:13px; height:500px;}
#ulList li{float:left;width:130px;height:140px;position: relative;}
#ulList li img{width:100px;height:90px; cursor:pointer;}
#ulList li div{position:absolute; top:100px;left:5px;}
#ulList li input{position:absolute; top:70px;left:0px;}
#filelist {list-style:none; margin:0; padding:0;border-top:1px solid #CCC;padding:10px 0px 10px 0px; display:none;}
#filelist div{height:10px; line-height:10px;}
#filelist li{height:45px;border-bottom: 1px solid #CCC; padding-top:5px;}
#tblDetail{display:none;}
#toolbar button{margin-left:10px;}
#tdShowImg p{color:#000}
.mnuRef{ position:absolute;z-index:100; left:128px; background-color:#ffffff; border:1px solid #BFBFBF;width:300px; height:100px; overflow:auto; display:none;}
.mnuRef ul{list-style:none; padding:0; margin:0;}
.mnuRef ul li{width:98%; height:30px; line-height:30px; text-align:left; padding-left:2px;}
.mnuRef ul li:hover{background-color:#EEE; cursor:pointer;} 
#filelist1 {list-style:none; margin:0; padding:0;border-top:1px solid #CCC;padding:10px 0px 10px 0px; display:none;}
#filelist1 div{height:10px; line-height:10px;}
#filelist1 li{height:45px;border-bottom: 1px solid #CCC; padding-top:5px;}
#tblDirGroup{width:100%}
#tblDirGroup td{border-bottom: dotted 1px #666; font-size:10px; padding-left:8px; line-height:15px;}

</style>


<iframe name="iframeSubmit" id="iframeSubmit" src="about:blank" style="display:none;"></iframe>
<div id="dialog-form-add-subject" title="增加主题" deftitle="增加主题" style="display:none;">
	<form name="formGame" id="formGame" method="post" action="?act=upload&op=ajaxSaveType" enctype="multipart/form-data" target="iframeSubmit">
 
        <table height="280px" width="100%">
        
<tr><td height="1" valign="top">
<ul id="filelist1">
</ul>
</td></tr>
<tr><td>
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr><td align="center" valign="middle"><div style="width:200px;height:200px; background-color:#CCC"><button id="pickfiles1" style="margin-top:80px;">选择主题封面图片</button><img id="imgUpload" src="about:blank" style="display:none; margin-top:-100px;" width="200" height="200"/></div></td></tr>
<tr><td align="center" height="50">
主题名称：<input type="text" id="txtGroupName" style="width:300px;"/>
	<div id="idSubjectTips" class="mnuRef">
    <ul id="ulSubjectTips">
 
    </ul>
    </div>
</td></tr>
<tr><td align="center" height="50"><div id="btnSubjectModify1"style="cursor:pointer;display:none;" onClick="showSubjectDetail(1);">修改主题分类</div></td></tr>
<tr><td align="center" height="50" style="display:none;"><div id="btnSubjectModify"style="cursor:pointer;display:none;" onClick="showSubjectDetail(0);">批量修改主题下所有文件的信息包括主题信息</div></td></tr></table>
</td></tr>
  <tr><td><pre id="console"></pre></td></tr>
 
       </table>
 
	<input type="hidden" id="tid" name="tid" value=""/>
	<input type="hidden" id="editId" name="editId" value=""/>
	</form>
</div>
<div id="dialog-confirm" title="正在处理中..." style="display:none;">
      <table height="80" width="100%">
       <tr>
         <td style="width:100px;height:30px;" id="msg">正在处理...请勿关闭</td> </tr>
       </table>
</div>
<div id="dialog-form-adddir" title="添加目录" style="display:none;">
	
	<fieldset>
      <table height="90" width="100%">
                 <tr><td width="50">品牌</td><td><select id="brand" did="1" sel="" name="dbbrandId"></select></td></tr>
                 <tr><td>产品</td><td><select id="car" name="dbcarId" sel=""></select></td></tr>
                 <tr><td>类型</td><td><select id="type" did="14" name="dbtypeId" sel=""></select></td></tr>
                 <tr><td>分类</td><td><select id="style" did="17" name="dbstyleId" sel=""></select></td></tr>
 
       </table>
	</fieldset>

</div>
<div id="dialog-form-dir" title="目录管理" style="display:none;">
	<form name="formGame" id="formGame" method="post" action="?act=upload&op=ajaxSaveType" enctype="multipart/form-data" target="iframeSubmit">
	<fieldset>
      <table height="80" width="100%">
       <tr>
         <td style="width:100px;height:30px;">目录名称：<input type="text" id="dirName"/></td> </tr>
       </table>
	</fieldset>
	<input type="hidden" id="dirId" value="0"/>
	</form>
</div>
<div id="dialog-form" title="素材上传" style="display:none;">
	<form name="formGame" id="formGame" method="post" action="?act=upload&op=ajaxSaveType" enctype="multipart/form-data" target="iframeSubmit">
 
        <table height="280px" width="100%">
       <tr>
         <td style="height:30px;"> <button id="pickfiles">选择上传文件</button> 上传的文件名不用包含中文汉字
   
</td> </tr>
<tr><td height="250" valign="top">
<ul id="filelist">

</ul>
</td></tr>
  <tr><td><pre id="console"></pre></td></tr>
 
       </table>
 
	<input type="hidden" id="tid" name="tid" value=""/>
	<input type="hidden" id="editId" name="editId" value=""/>
	</form>
</div>
<div style="display:none" id="divTempFileHtml">
<table width="100%" class="tblFile" id="TBLID"><tr><td width="55" rowspan="2" align="right" style="padding-right:10px;display:none;"><img src="/images/ico/tifs.png" height="30"/></td><td width="300">NAME</td><td >SIZE</td><td  rowspan="2" width="55" align="center"><div id="uploadRate"></div><img src="/images/ok.gif" id="imgOk" style="display:none;"/></td></tr><tr><td colspan="2"><div id="progressbar"></div></td></tr></table>
</div>
<style>
#ulMenu{list-style:none;width:580px;}
#ulMenu li{float:left;width:95px; border-left:1px #bfbfbf solid; text-align:center;height:60px; line-height:50px;font-size:14px;color:#888888; cursor:pointer;}
#mnuRef{ position:absolute;z-index:100; left:45px; background-color:#ffffff; border:1px solid #BFBFBF;width:155px; display:none;}
#mnuRef ul{list-style:none; padding:0; margin:0;}
#mnuRef ul li{ cursor:pointer;width:100%; height:30px; line-height:30px; text-align:left; padding-left:2px; overflow:hidden;text-overflow:ellipsis; white-space:nowrap;}
#mnuRef ul li:hover{ background-color:#EEE;} 
#ulAppLst{list-style:none; padding:0; margin:0;}
#ulAppLst li{float:left;width:110px;height:133px;position: relative; padding-top:10px;}
#ulAppLst li table{width:100%;height:100%;}
#ulAppLst li td{line-height:20px; vertical-align:bottom;}
#ulAppLst li img{width:100px;height:90px; cursor:pointer;}
#ulAppLst li div{position:absolute; top:110px;left:5px;font-size: 10px;}
#ulAppLst li input{position:absolute; top:84px;left:0px;}
#ulAppLst li #groupico{width:20px;right:12px; bottom:40px; height:auto; position:absolute;}
#appListDivPageNav .curr {color: #D2D2D2;font-size: 12px;}
#menu2_top{width:95px;height:12px;position:absolute;z-index:200;left:408px;top:83px;background-color:#ffffff;border-left:1px #b4b3b0 solid;border-right:1px #b4b3b0 solid; display:none;}
#menu2{display:none;width:170px;height:auto;background-color:#ffffff; position:absolute;z-index:100;left:408px;top:94px;border:1px #b4b3b0 solid;}
#menu2 ul{list-style:none;width:150px; padding:0; margin:auto;}
#menu2 ul li{height:40px; text-align:left; line-height:40px;border-bottom:1px dashed #aaaaaa; padding-left:8px; font-size:12px; cursor:pointer;}
</style>
 
<div id="dialog-tips" title="提示" style="display:none;">
<table height="100%" width="100%">
       <tr>
       <td style="width:200px;height:30px;" id="tips_msg"></td></tr>
       <tr>
       <td style="width:200px;height:30px;" id="tips_msg"></td></tr>
</table>
</div>
<div id="dialog-applylist" title="待审批列表" style="display:none;">
<table height="100%" width="100%">

       <tr>
       <td width="50"> <a id="headerAppListBack" >返回</a></td>
       <td style="width:200px;height:30px;" id="msg">总计&nbsp;<span id="spanAppNum1">0</span>&nbsp;个内容等待审批&nbsp;&nbsp;<input type="checkbox" id="formAppLstChecked"/>全选</td><td  width="400"><select id="selChecker" style="width:auto;"></select>&nbsp;&nbsp;<a id="btnSend">发送审批邮件</a></td><td><span id="appSendMsg"></span><img src="/images/loading.gif" height="20" id="imgLoading" style="display:none;"/>
      
       </td></tr>
       <tr><td valign="top" colspan="4">
       <ul id="ulAppLst">
       
       </ul>
       </td></tr>
       <tr>
       <td valign="top"  colspan="3" id="appListDivPageNav" height="20">
       
       </td></tr>
</table>
</div>
<table id="tblData" width="1000" border="0" style="margin:auto;" cellpadding="0" cellspacing="0">
  
  <tr>
    
    <td valign="top"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><table width="100%" height="600" border="0" align="center" cellpadding="0" cellspacing="0">
 
          <tr>

            <td>
            <table width="100%" height="100%">
            <tr>
           <td>
 
	
	<table id="users" width="100%" height="100%" style="border:1px #CCC solid;">
		<tbody>
        <tr><td id="title" style="padding-left:13px; height:40px;" colspan="3">下载地址 http://app4ios.oss-cn-qingdao.aliyuncs.com/文件名</td></tr>
 <tr>
        <td style="padding-left:13px; width:275px;"> &nbsp;&nbsp;&nbsp;总计：<span id="total">0</span>&nbsp;&nbsp;&nbsp;<input type="checkbox" id="chkSelAll"/>全选</td>
        <td style="text-align:right; padding-right:10px;" id="toolbar" colspan="2"><button id="createUser">素材上传</button></td></tr>
         <tr>
              <td align="left" valign="top" colspan="3" height="500">
              <ul id="ulList">

              </ul>
              </td>
         </tr>
         <tr><td colspan="2"><div id="divPageNav" style="position:inherit;width:100%;"></div></td><td align="right"><button id="btnDelete">删除</button></td></tr>
		</tbody>
	</table>
 
            </td>
            </tr>
            </table>
 </td>
          </tr>
        </table>
          </td>
      </tr>
    </table></td>
     
  </tr>
   <tr>
        <td  colspan="3" height="30" valign="middle">
     
    </td>
  </tr>
  <tr>
    <td  valign="middle">
     <script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?49bd6178becdd0af8d972000dd96d753";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
    
	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center"><span class="login-buttom-txt">网站中所有产品图片及文字说明均有可能变更。克莱斯勒(中国)汽车销售有限公司保留对所描述车型进行更改的权利，并且任何时候都无需</span></td>
      </tr>
      <tr>
        <td align="center"><span class="login-buttom-txt">承担因以产品改进为目的设计和(或)市场营销等原因而必须提前通知的义务。</span></td>
      </tr>
    </table>

    </td>
  </tr>
</table>

<table id="tblDetail" width="1000" style="margin:auto;" border="0" cellpadding="0" cellspacing="0">
   
  <tr>
    
    <td valign="top" ><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      
      <tr>
        <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
 
          <tr>
            <td>
            <div id="users-contain" class="ui-widget" style="width:100%;">
	<form id="form" action="?act=upload&op=saveInfo" method="post" target="iframeSubmit">
	<table id="users" class="ui-widget ui-widget-content">
		<tbody>
         <tr>
              <td align="left" valign="top" width="600">
                 <table width="100%">
                 <tr><td id="tdShowImg" colspan="2" height="450" align="center" style="text-align:center; font-size:20px; color:#ffffff; font-weight:bold;" valign="middle"><button id="btnUploadPrevPic">上传预览图片</button><p></p>
                 </td></tr>
                 <tr><td width="270">文件编号：<span id="idid"></span></td><td>上传者：<span id="uploader" style="margin-left:13px;"></span></td></tr>
                 <tr><td>文件名称：<input id="mark" type="text" name="dbmark" value="" size="30" style="margin-left:1px;width:200px;"/></td>
                 <td>作者：<input id="author" type="text" name="dbauthor" value="" size="30" style="margin-left:25px;width:200px;"/></td>
                 </tr>
<tr><td>创建时间：<select id="year" sel="0" style="width:56px;"></select>&nbsp;年&nbsp;<select id="month" sel="0" style="width:56px;">
<option value="0">选择</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>&nbsp;月<input type="hidden" id="hidyear" name="dbyear" /></td><td>有效期限：<input type="text" name="dbavaliDate" id="avaliDate" value="" style="margin-left:2px;width:200px;"/></td></tr>
                 <tr>
                <td valign="top">
                <div style="width:61px; float:left">出处说明：</div>
<textarea  id="instro" name="dbinstro" style="width:200px;"></textarea>
               </td><td><div style="width:61px; float:left">使用限制：</div><textarea  name="dblimitUse" id="limitUse" style="width:200px;"></textarea></td></tr>
  
                 
                 </table> 
              </td>
              <td align="left" valign="top">
 				<table width="100%" class="tblright">
                 <tr><td><button id="btnDetailSave" style="height:40px;width:333px; font-size:15px;">保存信息</button></td></tr>
                 <tr><td><button id="btnDetailPost" style="height:40px;width:300px;font-size:15px; display:none;">保存并发布</button></td></tr>
                 <tr><td><button id="btnDetailUnPost" style="height:40px;width:333px;font-size:15px;">下架</button></td></tr>
                 <tr><td align="left" valign="top" style="padding:0; border:none;">
                 <table width="100%" cellpadding="0" cellspacing="0" style="margin:0;">
                 <tr><td style="background-color:#EEE">添加目录</td><td style="background-color:#EEE"><button id="btnShowDirForm" style="float:right;">添加</button></td></tr>
                 <tr><td colspan="2" style="padding:0; border:none;">
                 <br/>
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#00F" id="dirCars">—品牌车型&nbsp;(0)</span>
                 <table id="tblSelCar"></table>
                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#00F" id="dirTypes">—内容类型&nbsp;(0)</span>
                 <table id="tblSelType"></table>
                 </td></tr>
 
                 </table>
                 </td></tr>
                 <tr><td style="padding:0; border:none;">
                 <table width="100%" cellpadding="0" cellspacing="0" style="margin-top:10px; margin-bottom:0">
                 <tr><td style="background-color:#EEE">设置关键词</td></tr>
                 <tr><td>
                 <textarea id="keywords" name="dbkeywords" rows="3" style="width:325px;"></textarea>
                 </td></tr>
                 
                 </table>
                 </td></tr>
                 <tr><td style="padding:0; border:none;"><table width="100%" cellpadding="0" cellspacing="0" style="margin-top:10px; margin-bottom:0">
                 <tr><td style="background-color:#EEE">设置专题</td></tr>
                 <tr><td>
                 <textarea id="zhuanTi" name="dbzhuanTi" rows="3" style="width:325px;"></textarea>
                 </td></tr>
                 
                 </table></td></tr>
				 <input type="hidden" id="pdid" name="pdid" value="0"/>
                 <input type="hidden" id="sid" name="dbsid" value="0"/>
                 <input type="hidden" id="isUpdateAll" name="isUpdateAll" value="0"/>
                 <input type="hidden" id="id" name="id" value=""/>
                 <input type="hidden" id="optype" name="optype" value=""/>
                 <input type="hidden" id="carIds" name="dbcarIds"/>
                 <input type="hidden" id="typeIds" name="dbtypeIds"/>
                 <input type="hidden" id="carNames" name="dbcarNames"/>
                 <input type="hidden" id="typeNames" name="dbtypeNames"/>
                 </table> 
              </td>
         </tr>
		</tbody>
	</table>
    </form>
    <input type="hidden" id="act" value="upload"/>
</div>
 </td>
          </tr>
        </table>
          </td>
      </tr>
    </table></td>
    <input type="hidden" id="roleId" value="2"/>
  </tr>
     <tr>
        <td  height="30" valign="middle">
     
    </td>
  </tr>  <tr>
    <td valign="middle">

    </td>
  </tr>
</table>
</body>

